/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: nu uc
 * License Type: Evaluation
 */
package org.testis.orm.classes;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class T_testplan_profile_detailsCriteria extends AbstractORMCriteria {
    public final IntegerExpression id;
    public final IntegerExpression paramId;
    public final StringExpression paramValue;

    public T_testplan_profile_detailsCriteria(Criteria criteria) {
	super(criteria);
	id = new IntegerExpression("id", this);
	paramId = new IntegerExpression("paramId", this);
	paramValue = new StringExpression("paramValue", this);
    }

    public T_testplan_profile_detailsCriteria(PersistentSession session) {
	this(session.createCriteria(T_testplan_profile_details.class));
    }

    public T_testplan_profile_detailsCriteria() throws PersistentException {
	this(org.testis.orm.manager.TestisDbPersistentManager.instance()
		.getSession());
    }

    public T_testplan_profilesCriteria createProfileCriteria() {
	return new T_testplan_profilesCriteria(createCriteria("Profile"));
    }

    public T_testplan_profile_details uniqueT_testplan_profile_details() {
	return (T_testplan_profile_details) super.uniqueResult();
    }

    public T_testplan_profile_details[] listT_testplan_profile_details() {
	java.util.List list = super.list();
	return (T_testplan_profile_details[]) list
		.toArray(new T_testplan_profile_details[list.size()]);
    }
}
